package com.antdesignbackend.backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("T_Images")
public class Images {
    @TableId(value = "Id", type = IdType.AUTO)
    private Integer id;
    /**
     图片
     */
    @TableField("Url")
    private String url;

    /**
     房间或店面的ID
     */
    @TableField("Pid")
    private Integer pid;
    /**
     类型，1店面，2房间
     */
    @TableField("Type")
    private Integer type;
    /**
     排序
     */
    @TableField("Listorder")
    private Double listorder;
}
